package own.stu.jobgib.playown;

import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @author WangXiaoLei
 */
//@Data
public class MerchantProductPO extends BasePO {

    private static final long serialVersionUID = -131906786573768848L;
    /**
     * '商品子形式，1-自建子品，2-聚合子品'
     */
    private Integer subTypeOfProduct;
    /**
     * 商家ID
     */
    private Long merchantId;
    /**
     * 商品编码
     */
    private String code;

    /**
     * 体积单位CM^3
     */
    private BigDecimal merchantProdVolume;

    /**
     * 保质期天数
     */
    private Integer shelflifeDays;
    /**
     * 包退天数
     */
    private Integer returnDays;
    /**
     * 第三方商品编码
     */
    private String thirdMerchantProductCode;
    /**
     * 英文名
     */
    private String englishName;
    /**
     * 0:普通商品;1:系列主品;2:系列子品;3:系列虚品;4:组合商品
     */
    private Integer typeOfProduct;
    /**
     * 商家类目id
     */
    private Long merchantCategoryId;

    /**
     * 系列虚品的ID
     */
    private Long parentId;

    /**
     * 商品毛重
     */
    private BigDecimal grossWeight;

    /**
     * 副标题(商家自定义名称)
     */
    private String subtitle;
    /**
     * 副标题(二语言)
     */
    private String subtitleLan2;

    /**
     * 货号
     */
    private String artNo;
    /**
     * 品牌表ID 外键
     */
    private Long brandId;

    /**
     * 包换天数
     */
    private Integer replacementDays;
    /**
     * 商品最大净重
     */
    private BigDecimal netWeight;
    /**
     * 商品最小净重
     */
    private BigDecimal netWeightStart;
    /**
     * 备注
     */
    private String remark;
    /**
     * 销售类型(1普通、2海购、3精品、4赠品)
     */
    private Integer saleType;
    /**
     * 商品长度
     */
    private BigDecimal merchantProdLength;
    /**
     * 运费模板id
     */
    private Long freightTemplateId;
    /**
     * 高度
     */
    private BigDecimal merchantProdHeight;
    /**
     * 商品类型(1普通商品、6服务商品)
     */
    private Integer type;
    /**
     * 中文名
     */
    private String chineseName;
    private Long productId;
    /**
     * 产品来源类型  1:平台添加（默认） 2:商家添加 3: 外部接口同步
     */
    private Integer sourceType;
    /**
     * 保修天数
     */
    private Integer guaranteeDays;
    /**
     * 是否可见
     */
    private Integer isVisible;
    /**
     * 类目节点Id
     */
    private Long categoryId;
    /**
     * 审核状态:默认0预审核、 1待审核、 2审核通过、 3审核不通过、 4永久下架
     */
    private Integer status;
    /**
     * 宽度
     */
    private BigDecimal merchantProdWidth;

    /**
     * 基础资料引用Id
     */
    private Long refId;
    /**
     * 渠道Code
     */
    private String channelCode;

    /**
     * 销售计量单位主键id
     */
    private Long saleCalcUnitId;
    /**
     * 店铺ID
     */
    private Long storeId;
    /**
     * 上下架状态 0-下架 1-上架
     */
    private Integer canSale;
    /**
     * 1、产品  2、商品 3、店铺商品  4、库存组织商品
     */
    private Integer dataType;
    private Long merchantProductId;
    /**
     * 仓库类型:0:有实体仓 1:无实体仓
     */
    private Integer warehouseType;

    /**
     * 价格层级
     */
    private Integer priceLevel;

    /**
     * 业态:0-非餐饮行业;1-餐饮行业
     */
    private Integer businessType;

    /**
     * 用途类型:0-成品;1-原料
     */
    private Integer useType;

    /**
     * 加工类型:0-无需加工;1-先加工;2-后加工
     */
    private Integer machiningType;

    /**
     * 组合商品类型:0-固定组合;1-可选组合
     */
    private Integer combineType;

    /**
     * 作业区域Code
     */
    private String operationAreaCode;

    /**
     * 运营商品id
     */
    private Long platformMpId;

    /**
     * 产地
     */
    private String placeOriginName;

    /**
     * 首次上架时间
     */
    private Timestamp firstShelfTime;


    //2.7新增字段
    /**
     * 可售渠道
     */
    private String channelCodes;

    /**
     * 工厂
     */
    private String werks;

    /**
     * 计量单位
     */
    private String calculationUnit;

    /**
     * Product code
     */
    private String ferth;

    /**
     * 是否启用批次管理
     */
    private String xchpe;

    /**
     * 是否混箱
     */
    private String zmix;

    /**
     * 奥乐齐专用 用于对接转换
     */
    private String brandCode;

    /**
     * SPU描述
     */
    private String zpcn;

    /**
     * 产品范围
     */
    private String zpcls;

    /**
     * 每箱个数
     */
    private String zupc;

    /**
     * MOQ最小订购量
     */
    private String bstmi;

    /**
     * 箱尺寸
     */
    private String meabm1;

    /**
     * 箱规：每层个数
     */
    private String zeloc;

    /**
     * 箱规：每托个数
     */
    private String zevla;

    /**
     * 原产国
     */
    private String originalCountry;

    /**
     * 产地(国)
     */
    private String placeOfOrigin;

    /**
     * 产地（奥乐齐二开字段）
     */
    private String productPlace;

    /**
     * 等级
     */
    private String zclas;

    /**
     * 产品规格上限
     */
    private String zwmax;

    /**
     * 产品规格上限
     */
    private String zwmin;

    /**
     * 电子价签描述(中)
     */
    private String zptcd;

    /**
     * 电子价签描述(英)
     */
    private String zpted;

    /**
     * 重量显示单位
     */
    private String weightUnit;

    /**
     * 如果是SAP的新物料，则显示“新建”，如果SAP是更改物料，则显示“更改”
     */
    private String zstatus;

    /**
     * 是否称重商品，1-是，0-否
     */
    private Integer isWeighted;

    /**
     * 是否享受优惠税率的标记：Y/N
     */
    private String zprtax;

    /**
     * 物流模式
     */
    private Integer turnoverChannel;

    /**
     * 最小剩余货架天数
     */
    private Integer minGoodsShelvesDays;

    /**
     * 储存温区
     */
    private String storagTemperatureZone;

    /**
     * 箱规(规格如长、宽、高)
     */
    private String boxSpecifications;

    /**
     * 经营状态 1-新商品，2-正常经营
     */
    private Integer operateStatus;

    /**
     * 商品货物税收分类编码
     */
    private String taxClassificationCode;

    /**
     * 销项税率
     */
    private String outputTaxRate;

    /**
     * 安全库存
     */
    private String safetyStock;

    /**
     * 该字段废弃
     */
    private String merchantCateTreeNodeId;

    /**
     * 商品条码
     */
    private String barCode;

    /**
     * POS商品ID
     */
    private String mpqMinPackage;

    private Integer isBeeleCanSale;
    private Integer isJddjCanSale;
    private Integer isBeeleNextDayCanSale;

    public String getMpqMinPackage;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getSubTypeOfProduct() {
        return subTypeOfProduct;
    }

    public void setSubTypeOfProduct(Integer subTypeOfProduct) {
        this.subTypeOfProduct = subTypeOfProduct;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getMerchantProdVolume() {
        return merchantProdVolume;
    }

    public void setMerchantProdVolume(BigDecimal merchantProdVolume) {
        this.merchantProdVolume = merchantProdVolume;
    }

    public Integer getShelflifeDays() {
        return shelflifeDays;
    }

    public void setShelflifeDays(Integer shelflifeDays) {
        this.shelflifeDays = shelflifeDays;
    }

    public Integer getReturnDays() {
        return returnDays;
    }

    public void setReturnDays(Integer returnDays) {
        this.returnDays = returnDays;
    }

    public String getThirdMerchantProductCode() {
        return thirdMerchantProductCode;
    }

    public void setThirdMerchantProductCode(String thirdMerchantProductCode) {
        this.thirdMerchantProductCode = thirdMerchantProductCode;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public Integer getTypeOfProduct() {
        return typeOfProduct;
    }

    public void setTypeOfProduct(Integer typeOfProduct) {
        this.typeOfProduct = typeOfProduct;
    }

    public Long getMerchantCategoryId() {
        return merchantCategoryId;
    }

    public void setMerchantCategoryId(Long merchantCategoryId) {
        this.merchantCategoryId = merchantCategoryId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public BigDecimal getGrossWeight() {
        return grossWeight;
    }

    public void setGrossWeight(BigDecimal grossWeight) {
        this.grossWeight = grossWeight;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getSubtitleLan2() {
        return subtitleLan2;
    }

    public void setSubtitleLan2(String subtitleLan2) {
        this.subtitleLan2 = subtitleLan2;
    }

    public String getArtNo() {
        return artNo;
    }

    public void setArtNo(String artNo) {
        this.artNo = artNo;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Integer getReplacementDays() {
        return replacementDays;
    }

    public void setReplacementDays(Integer replacementDays) {
        this.replacementDays = replacementDays;
    }

    public BigDecimal getNetWeight() {
        return netWeight;
    }

    public void setNetWeight(BigDecimal netWeight) {
        this.netWeight = netWeight;
    }

    public BigDecimal getNetWeightStart() {
        return netWeightStart;
    }

    public void setNetWeightStart(BigDecimal netWeightStart) {
        this.netWeightStart = netWeightStart;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSaleType() {
        return saleType;
    }

    public void setSaleType(Integer saleType) {
        this.saleType = saleType;
    }

    public BigDecimal getMerchantProdLength() {
        return merchantProdLength;
    }

    public void setMerchantProdLength(BigDecimal merchantProdLength) {
        this.merchantProdLength = merchantProdLength;
    }

    public Long getFreightTemplateId() {
        return freightTemplateId;
    }

    public void setFreightTemplateId(Long freightTemplateId) {
        this.freightTemplateId = freightTemplateId;
    }

    public BigDecimal getMerchantProdHeight() {
        return merchantProdHeight;
    }

    public void setMerchantProdHeight(BigDecimal merchantProdHeight) {
        this.merchantProdHeight = merchantProdHeight;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getChineseName() {
        return chineseName;
    }

    public void setChineseName(String chineseName) {
        this.chineseName = chineseName;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public Integer getGuaranteeDays() {
        return guaranteeDays;
    }

    public void setGuaranteeDays(Integer guaranteeDays) {
        this.guaranteeDays = guaranteeDays;
    }

    public Integer getIsVisible() {
        return isVisible;
    }

    public void setIsVisible(Integer isVisible) {
        this.isVisible = isVisible;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getMerchantProdWidth() {
        return merchantProdWidth;
    }

    public void setMerchantProdWidth(BigDecimal merchantProdWidth) {
        this.merchantProdWidth = merchantProdWidth;
    }

    public Long getRefId() {
        return refId;
    }

    public void setRefId(Long refId) {
        this.refId = refId;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public Long getSaleCalcUnitId() {
        return saleCalcUnitId;
    }

    public void setSaleCalcUnitId(Long saleCalcUnitId) {
        this.saleCalcUnitId = saleCalcUnitId;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Integer getCanSale() {
        return canSale;
    }

    public void setCanSale(Integer canSale) {
        this.canSale = canSale;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public Long getMerchantProductId() {
        return merchantProductId;
    }

    public void setMerchantProductId(Long merchantProductId) {
        this.merchantProductId = merchantProductId;
    }

    public Integer getWarehouseType() {
        return warehouseType;
    }

    public void setWarehouseType(Integer warehouseType) {
        this.warehouseType = warehouseType;
    }

    public Integer getPriceLevel() {
        return priceLevel;
    }

    public void setPriceLevel(Integer priceLevel) {
        this.priceLevel = priceLevel;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Integer getUseType() {
        return useType;
    }

    public void setUseType(Integer useType) {
        this.useType = useType;
    }

    public Integer getMachiningType() {
        return machiningType;
    }

    public void setMachiningType(Integer machiningType) {
        this.machiningType = machiningType;
    }

    public Integer getCombineType() {
        return combineType;
    }

    public void setCombineType(Integer combineType) {
        this.combineType = combineType;
    }

    public String getOperationAreaCode() {
        return operationAreaCode;
    }

    public void setOperationAreaCode(String operationAreaCode) {
        this.operationAreaCode = operationAreaCode;
    }

    public Long getPlatformMpId() {
        return platformMpId;
    }

    public void setPlatformMpId(Long platformMpId) {
        this.platformMpId = platformMpId;
    }

    public String getPlaceOriginName() {
        return placeOriginName;
    }

    public void setPlaceOriginName(String placeOriginName) {
        this.placeOriginName = placeOriginName;
    }

    public Timestamp getFirstShelfTime() {
        return firstShelfTime;
    }

    public void setFirstShelfTime(Timestamp firstShelfTime) {
        this.firstShelfTime = firstShelfTime;
    }

    public String getChannelCodes() {
        return channelCodes;
    }

    public void setChannelCodes(String channelCodes) {
        this.channelCodes = channelCodes;
    }

    public String getWerks() {
        return werks;
    }

    public void setWerks(String werks) {
        this.werks = werks;
    }

    public String getCalculationUnit() {
        return calculationUnit;
    }

    public void setCalculationUnit(String calculationUnit) {
        this.calculationUnit = calculationUnit;
    }

    public String getFerth() {
        return ferth;
    }

    public void setFerth(String ferth) {
        this.ferth = ferth;
    }

    public String getXchpe() {
        return xchpe;
    }

    public void setXchpe(String xchpe) {
        this.xchpe = xchpe;
    }

    public String getZmix() {
        return zmix;
    }

    public void setZmix(String zmix) {
        this.zmix = zmix;
    }

    public String getBrandCode() {
        return brandCode;
    }

    public void setBrandCode(String brandCode) {
        this.brandCode = brandCode;
    }

    public String getZpcn() {
        return zpcn;
    }

    public void setZpcn(String zpcn) {
        this.zpcn = zpcn;
    }

    public String getZpcls() {
        return zpcls;
    }

    public void setZpcls(String zpcls) {
        this.zpcls = zpcls;
    }

    public String getZupc() {
        return zupc;
    }

    public void setZupc(String zupc) {
        this.zupc = zupc;
    }

    public String getBstmi() {
        return bstmi;
    }

    public void setBstmi(String bstmi) {
        this.bstmi = bstmi;
    }

    public String getMeabm1() {
        return meabm1;
    }

    public void setMeabm1(String meabm1) {
        this.meabm1 = meabm1;
    }

    public String getZeloc() {
        return zeloc;
    }

    public void setZeloc(String zeloc) {
        this.zeloc = zeloc;
    }

    public String getZevla() {
        return zevla;
    }

    public void setZevla(String zevla) {
        this.zevla = zevla;
    }

    public String getOriginalCountry() {
        return originalCountry;
    }

    public void setOriginalCountry(String originalCountry) {
        this.originalCountry = originalCountry;
    }

    public String getPlaceOfOrigin() {
        return placeOfOrigin;
    }

    public void setPlaceOfOrigin(String placeOfOrigin) {
        this.placeOfOrigin = placeOfOrigin;
    }

    public String getProductPlace() {
        return productPlace;
    }

    public void setProductPlace(String productPlace) {
        this.productPlace = productPlace;
    }

    public String getZclas() {
        return zclas;
    }

    public void setZclas(String zclas) {
        this.zclas = zclas;
    }

    public String getZwmax() {
        return zwmax;
    }

    public void setZwmax(String zwmax) {
        this.zwmax = zwmax;
    }

    public String getZwmin() {
        return zwmin;
    }

    public void setZwmin(String zwmin) {
        this.zwmin = zwmin;
    }

    public String getZptcd() {
        return zptcd;
    }

    public void setZptcd(String zptcd) {
        this.zptcd = zptcd;
    }

    public String getZpted() {
        return zpted;
    }

    public void setZpted(String zpted) {
        this.zpted = zpted;
    }

    public String getWeightUnit() {
        return weightUnit;
    }

    public void setWeightUnit(String weightUnit) {
        this.weightUnit = weightUnit;
    }

    public String getZstatus() {
        return zstatus;
    }

    public void setZstatus(String zstatus) {
        this.zstatus = zstatus;
    }

    public Integer getIsWeighted() {
        return isWeighted;
    }

    public void setIsWeighted(Integer isWeighted) {
        this.isWeighted = isWeighted;
    }

    public String getZprtax() {
        return zprtax;
    }

    public void setZprtax(String zprtax) {
        this.zprtax = zprtax;
    }

    public Integer getTurnoverChannel() {
        return turnoverChannel;
    }

    public void setTurnoverChannel(Integer turnoverChannel) {
        this.turnoverChannel = turnoverChannel;
    }

    public Integer getMinGoodsShelvesDays() {
        return minGoodsShelvesDays;
    }

    public void setMinGoodsShelvesDays(Integer minGoodsShelvesDays) {
        this.minGoodsShelvesDays = minGoodsShelvesDays;
    }

    public String getStoragTemperatureZone() {
        return storagTemperatureZone;
    }

    public void setStoragTemperatureZone(String storagTemperatureZone) {
        this.storagTemperatureZone = storagTemperatureZone;
    }

    public String getBoxSpecifications() {
        return boxSpecifications;
    }

    public void setBoxSpecifications(String boxSpecifications) {
        this.boxSpecifications = boxSpecifications;
    }

    public Integer getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(Integer operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getTaxClassificationCode() {
        return taxClassificationCode;
    }

    public void setTaxClassificationCode(String taxClassificationCode) {
        this.taxClassificationCode = taxClassificationCode;
    }

    public String getOutputTaxRate() {
        return outputTaxRate;
    }

    public void setOutputTaxRate(String outputTaxRate) {
        this.outputTaxRate = outputTaxRate;
    }

    public String getSafetyStock() {
        return safetyStock;
    }

    public void setSafetyStock(String safetyStock) {
        this.safetyStock = safetyStock;
    }

    public String getMerchantCateTreeNodeId() {
        return merchantCateTreeNodeId;
    }

    public void setMerchantCateTreeNodeId(String merchantCateTreeNodeId) {
        this.merchantCateTreeNodeId = merchantCateTreeNodeId;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getMpqMinPackage() {
        return mpqMinPackage;
    }

    public void setMpqMinPackage(String mpqMinPackage) {
        this.mpqMinPackage = mpqMinPackage;
    }

    public Integer getIsBeeleCanSale() {
        return isBeeleCanSale;
    }

    public void setIsBeeleCanSale(Integer isBeeleCanSale) {
        this.isBeeleCanSale = isBeeleCanSale;
    }

    public Integer getIsJddjCanSale() {
        return isJddjCanSale;
    }

    public void setIsJddjCanSale(Integer isJddjCanSale) {
        this.isJddjCanSale = isJddjCanSale;
    }

    public Integer getIsBeeleNextDayCanSale() {
        return isBeeleNextDayCanSale;
    }

    public void setIsBeeleNextDayCanSale(Integer isBeeleNextDayCanSale) {
        this.isBeeleNextDayCanSale = isBeeleNextDayCanSale;
    }

    public String getGetMpqMinPackage() {
        return getMpqMinPackage;
    }

    public void setGetMpqMinPackage(String getMpqMinPackage) {
        this.getMpqMinPackage = getMpqMinPackage;
    }
}
